package com.zjhd.sealcutting.service;

import com.zjhd.sealcutting.domain.WorksComment;
import com.zjhd.sealcutting.utils.response.ResponseResult;
import com.zjhd.sealcutting.vo.WorksCommentVo;

import java.util.List;

/**
 * TODO  作品评论
 *
 * @author wangchao
 * @version 1.0
 * @date 2020/12/3 15:41
 */
public interface WorksCommentService {

    /**
     * TODO 新增作品评论
     * @author wangchao
     * @date 2020/12/3 15:43
     * @param
     * @return
     */
    ResponseResult insertWorksComment(WorksComment worksComment)throws Exception;

    /**
     * TODO 根据作品ID查询作品评论
     * @author wangchao
     * @date 2020/12/3 16:28
     * @param
     * @return
     */
    List<WorksCommentVo> queryByWorkIdComment(String workId)throws Exception;
}
